<?php

namespace app\validate;

use think\Validate;

class Audit extends Validate
{
    protected $rule =   [
        'storeId'  => 'require',
        'status'  => 'require|in:1,2',
    ];

    protected $message  =   [
        'storeId.require' => '店铺Id必填',
        'status.require' => '状态必填',
        'status.in' => '状态必须为1或2',
    ];
}
